home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
1810
/
1810.xpi
/
chrome
/
showcase.jar
/
content
/
settings
/
pref-window.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-01-17
|
10KB
|
192 lines
<?xml version="1.0"?>
<!DOCTYPE overlay [
<!ENTITY % dialogDTD SYSTEM "chrome://showcase/locale/pref-showcase.dtd" >
%dialogDTD;
<!ENTITY % tabBrowserDTD SYSTEM "chrome://global/locale/tabbrowser.dtd" >
%tabBrowserDTD;
]>
<overlay id="WindowPaneOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<prefpane id="paneWindow" label="&tab.window;" onpaneload="windowPrefInit();">
<script type="application/x-javascript" src="pref-window.js" />
<preferences>
<preference id="pref-windowPosition" name="extensions.showcase.windowPosition" type="int"/>
<preference id="pref-windowWidth" name="extensions.showcase.windowWidth" type="int"/>
<preference id="pref-windowWidthPercentage" name="extensions.showcase.windowWidthPercentage" type="string"/>
<preference id="pref-windowWidthModifier" name="extensions.showcase.windowWidthModifier" type="int"/>
<preference id="pref-windowHeight" name="extensions.showcase.windowHeight" type="int"/>
<preference id="pref-windowHeightPercentage" name="extensions.showcase.windowHeightPercentage" type="string"/>
<preference id="pref-windowHeightModifier" name="extensions.showcase.windowHeightModifier" type="int"/>
<preference id="pref-windowCustomColors" name="extensions.showcase.windowCustomColors" type="bool"/>
<preference id="pref-windowCustomBackgroundColor" name="extensions.showcase.windowCustomBackgroundColor" type="string"/>
<preference id="pref-windowCloseWhenParentFocus" name="extensions.showcase.windowCloseWhenParentFocus" type="bool"/>
<preference id="pref-windowCloseWhenBlur" name="extensions.showcase.windowCloseWhenBlur" type="bool"/>
<preference id="pref-windowCloseWhenSelect" name="extensions.showcase.windowCloseWhenSelect" type="bool"/>
<preference id="pref-windowCloseWhenZeroThumbnails" name="extensions.showcase.windowCloseWhenZeroThumbnails" type="bool"/>
<preference id="pref-windowShowTitleStats" name="extensions.showcase.windowShowTitleStats" type="bool"/>
<preference id="pref-windowScrollType" name="extensions.showcase.windowScrollType" type="int"/>
<preference id="pref-windowThumbnailPreferredMinimumSize" name="extensions.showcase.windowThumbnailPreferredMinimumSize" type="int"/>
<preference id="pref-windowShowOnlyCurrentByDefault" name="extensions.showcase.windowShowOnlyCurrentByDefault" type="bool"/>
<preference id="pref-windowAlwaysShowScrollbar" name="extensions.showcase.windowAlwaysShowScrollbar" type="bool"/>
</preferences>
<tabbox flex="1">
<tabs>
<tab label="&windowTab.general;"/>
<tab label="&windowTab.attributes;"/>
</tabs>
<tabpanels flex="1">
<tabpanel orient="vertical">
<groupbox>
<caption label="&scrolling.caption;"/>
<hbox align="center">
<label id="windowScrollTypeLabel" value="&scrollType.label;" control="windowScrollType" />
<menulist flex="0" id="windowScrollType" preference="pref-windowScrollType" oncommand="windowScrollTypeChanged();">
<menupopup>
<menuitem value="0" label="&scrolling.none;" />
<menuitem value="1" label="&scrolling.vertical;" />
<menuitem value="2" label="&scrolling.horizontal;" />
</menupopup>
</menulist>
<spacer flex="1" />
</hbox>
<hbox align="center" style="margin-left: 2em;">
<label value="&thumbnailPreferredMinimumSize.label;" id="windowThumbnailPreferredMinimumSizeLabel" flex="0" style="vertical-align: middle;"/>
<textbox id="windowThumbnailPreferredMinimumSize" size="4" preference="pref-windowThumbnailPreferredMinimumSize" />
<label value="&pixels.label;" id="windowThumbnailPreferredMinimumSizePixelsLabel" />
<spacer flex="1" />
</hbox>
<vbox align="start" style="margin-left: 2em;">
<checkbox id="windowAlwaysShowScrollbar" flex="0" label="&alwaysShowScrollbar.label;" preference="pref-windowAlwaysShowScrollbar"/>
</vbox>
</groupbox>
<groupbox>
<caption label="&options.caption;"/>
<vbox align="start">
<checkbox id="windowCustomColors" flex="0" label="&windowCustomColors.label;" preference="pref-windowCustomColors" oncommand="windowCustomColorsChanged();"/>
</vbox>
<hbox style="margin-left: 2em; -moz-box-align: center;">
<label value="&windowCustomBackgroundColor.label;" id="windowCustomBackgroundColorLabel"/>
<colorpicker type="button" id="windowCustomBackgroundColor" palettename="standard" preference="pref-windowCustomBackgroundColor"/>
<spacer flex="1" />
</hbox>
<vbox align="start">
<checkbox id="windowCloseWhenParentFocus" flex="0" label="&windowCloseWhenParentFocus.label;" preference="pref-windowCloseWhenParentFocus" />
</vbox>
<vbox align="start">
<checkbox id="windowCloseWhenBlur" flex="0" label="&windowCloseWhenBlur.label;" preference="pref-windowCloseWhenBlur" />
</vbox>
<vbox align="start">
<checkbox id="windowCloseWhenSelect" flex="0" label="&windowCloseWhenSelect.label;" preference="pref-windowCloseWhenSelect" />
</vbox>
<vbox align="start">
<checkbox id="windowCloseWhenZeroThumbnails" flex="0" label="&windowCloseWhenZeroThumbnails.label;" preference="pref-windowCloseWhenZeroThumbnails" />
</vbox>
<vbox align="start">
<checkbox id="windowShowTitleStats" flex="0" label="&windowShowTitleStats.label;" preference="pref-windowShowTitleStats" />
</vbox>
<vbox align="start">
<checkbox id="windowShowOnlyCurrentByDefault" flex="0" label="&windowShowOnlyCurrentByDefault.label;" preference="pref-windowShowOnlyCurrentByDefault" />
</vbox>
</groupbox>
</tabpanel>
<tabpanel orient="vertical">
<groupbox>
<caption label="&windowPosition.caption;"/>
<hbox align="center">
<label value="&windowPosition.label;" control="windowPosition" />
<menulist flex="0" id="windowPosition" preference="pref-windowPosition">
<menupopup>
<menuitem value="4" label="&windowPosition.centerWindow;" />
<menuitem value="0" label="&windowPosition.centerContent;" />
<menuitem value="1" label="&windowPosition.centerScreen;" />
<menuitem value="2" label="&windowPosition.rememberLast;" />
<menuitem value="3" label="&windowPosition.rememberRelative;" />
</menupopup>
</menulist>
<spacer flex="1" />
</hbox>
</groupbox>
<groupbox>
<caption label="&windowSize.label;"/>
<hbox align="center">
<label value="&windowWidth.label;" control="windowWidth" />
<menulist flex="0" id="windowWidth" preference="pref-windowWidth" oncommand="windowWidthChanged();">
<menupopup>
<menuitem value="3" label="&windowWidth.relatedWindow;" />
<menuitem value="0" label="&windowWidth.relatedContent;" />
<menuitem value="1" label="&windowWidth.relatedScreen;" />
<menuitem value="2" label="&windowWidth.rememberLast;" />
</menupopup>
</menulist>
<spacer flex="1" />
</hbox>
<hbox style="margin-left: 2em;" flex="1">
<grid flex="1">
<columns>
<column />
<column />
<column />
</columns>
<rows>
<row align="center" flex="1">
<label value="&windowWidthPercentage.label;" id="windowWidthPercentageLabel"/>
<hbox align="center">
<textbox id="windowWidthPercentage" size="3" preference="pref-windowWidthPercentage"/>
<label value="%" id="windowWidthPercentageSymbolLabel"/>
</hbox>
<spacer flex="1" />
</row>
<row align="center" flex="1">
<label value="&windowWidthModifier.label;" id="windowWidthModifierLabel"/>
<textbox id="windowWidthModifier" size="4" preference="pref-windowWidthModifier"/>
<label value="&pixels.label;" flex="1" id="windowWidthModifierUnitLabel" />
</row>
</rows>
</grid>
</hbox>
<hbox align="center">
<label value="&windowHeight.label;" control="windowHeight"/>
<menulist flex="0" id="windowHeight" preference="pref-windowHeight" oncommand="windowHeightChanged();">
<menupopup>
<menuitem value="3" label="&windowHeight.relatedWindow;" />
<menuitem value="0" label="&windowHeight.relatedContent;" />
<menuitem value="1" label="&windowHeight.relatedScreen;" />
<menuitem value="2" label="&windowHeight.rememberLast;" />
</menupopup>
</menulist>
<spacer flex="1" />
</hbox>
<hbox style="margin-left: 2em;" flex="1">
<grid flex="1">
<columns>
<column />
<column />
<column />
</columns>
<rows>
<row align="center" flex="1">
<label value="&windowHeightPercentage.label;" id="windowHeightPercentageLabel"/>
<hbox align="center">
<textbox id="windowHeightPercentage" size="3" preference="pref-windowHeightPercentage" />
<label value="%" id="windowHeightPercentageSymbolLabel"/>
</hbox>
<spacer flex="1"/>
</row>
<row align="center" flex="1">
<label value="&windowHeightModifier.label;" id="windowHeightModifierLabel"/>
<textbox id="windowHeightModifier" size="4" preference="pref-windowHeightModifier" />
<label value="&pixels.label;" flex="1" id="windowHeightModifierUnitLabel"/>
</row>
</rows>
</grid>
</hbox>
</groupbox>
</tabpanel>
</tabpanels>
</tabbox>
</prefpane>
</overlay>